<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost" />
<title>test_message_sendlater</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test_message_sendlater</td></tr>
</thead><tbody>
<!--DESCRIPTION
               romeo writes a msg to juliet
               he chooses a day and a month to send but not the year
               warning about the wrong date is verified
               romeo corrects the date and sends the msg-->
<tr>
	<td>open</td>
	<td>http://localhost</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=login</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>p_un</td>
	<td>romeo</td>
</tr>
<tr>
	<td>type</td>
	<td>p_pw</td>
	<td>r123omeo</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>action</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Your messages</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>del_all</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>msg_to_user</td>
	<td>juliet</td>
</tr>
<tr>
	<td>type</td>
	<td>msg_subject</td>
	<td>dear juliet</td>
</tr>
<tr>
	<td>type</td>
	<td>msg_body</td>
	<td>i love you</td>
</tr>
<tr>
	<td>select</td>
	<td>msg_send_day</td>
	<td>label=4</td>
</tr>
<tr>
	<td>select</td>
	<td>msg_send_month</td>
	<td>label=July</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>send_button</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td></td>
	<td>The chosen date (0/7/4) is invalid.</td>
</tr>
<tr>
	<td>select</td>
	<td>msg_send_year</td>
	<td>label=2009</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>send_button</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td></td>
	<td>Your message has been sent.</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=logout</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
